<?php //print_r($this->data); die?>
<header>
      <h3 class="tabs_involved">Chi tiết khách hàng</h3>
      

    </header>
    <div class="module_content">
        <table cellspacing="0" class="tablesorter tablesorterBorder">
   
        <tr class="altrow">
                <td width="100">Tên</td>
                <td><?php echo $this->data['name'];?></td>
                
        </tr> 
        <tr >
                <td width="100">Điện thoại </td>
                <td><?php echo $this->data['mobile'];?></td>
                
        </tr>
        <tr class="altrow">
                <td width="100">Địa chỉ</td>
                <td><?php echo $this->data['address'];?></td>
                
        </tr>
        <tr >
                <td width="100">Email</td>
                <td><?php echo $this->data['email'];?></td>
                
        </tr>
        <tr class="altrow">
                <td width="100">Fax</td>
                <td><?php echo $this->data['fax'];?></td>
                
        </tr>
        <tr >
                <td width="100">Title</td>
                <td><?php echo $this->data['title'];?></td>
                
        </tr>
        
        <tr class="altrow">
                <td width="100">Content</td>
                <td><?php echo $this->data['content'];?></td>
                
        </tr>
        
        
           
       
        </table>
        
    </div>
    <?php if(count($this->dataOrder) > 0){?>
    <div class="fix-list-order">
        <table cellspacing="0" class="tablesorter tablesorterBorder">
        <?php foreach($this->dataOrder as $i=>$value):
        @$total = $total + $value['total'];
        ?>
            <tr>
                        
                <td align="center"><img src="<?php echo $this->baseUrl()."/upload/".$value['image'];?>" width="80" height="66"/></td>
                <td><strong><?php echo $value['name'];?></strong></td>
                <td><span style="color: red;"><?php echo number_format($value['price']);?> VNĐ </span></td>
                <td style="text-align: center;"><?php echo $value['number'];?> Kg</td>
                <td><span style="color: green;"><?php echo number_format($value['total']);?> VNĐ </span></td>
                
            </tr>
        <?php endforeach;?>
        <tr><td colspan="5" align = "right"><strong> <?php echo number_format($total);?></strong> VND</td></tr>
        </table>
       
    </div>
    <?php }?>